﻿using Pay.TO;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Pay.Data {
      /// <summary>
      /// 邀请审核 升级
      /// </summary>
   public class TokenUpGrade {
        public long Id { get; set; }
        /// <summary>
        /// 邀请人
        /// </summary>
        public long MerchantId { get; set; }
        /// <summary>
        /// 邀请人实名
        /// </summary>
        public string MerchantName { get; set; }
        /// <summary>
        /// 申请角色
        /// </summary>
        public UserType GradeId { get; set; }
        /// <summary>
        /// 开通账号
        /// </summary>
        public long ApplyMerchantId { get; set; }
        /// <summary>
        ///转账凭证
        /// </summary>
        public string TransferVoucher { get; set; }
        /// <summary>
        /// 市分公司
        /// </summary>
        public long CityCompanyMerchantId { get; set; }
        /// <summary>
        /// 申请时间
        /// </summary>
        public long ApplyTime { get; set; }
        /// <summary>
        /// 通过时间
        /// </summary>
        public long? AuditTime { get; set; }
        /// <summary>
        /// 升级金额
        /// </summary>
        public decimal Amount { get; set; }
        /// <summary>
        /// 状态
        /// </summary>
         public EUpGradeAudit EUpGradeAudit { get; set; }
        /// <summary>
        /// 收款信息
        /// </summary>
        public string ReceivablesInfo { get; set; }
        /// <summary>
        /// 邀请人
        /// </summary>
        public virtual Merchant Merchant { get; set; }
        /// <summary>
        /// 申请人
        /// </summary>
        public virtual Merchant ApplyMerchant { get; set; }
       /// <summary>
       /// 市分公司
       /// </summary>
        public virtual Merchant CityCompanyMerchant { get; set; }
    }
}
